package com.cn.sl.server.api.system.user.exception

import com.cn.sl.server.common.constant.MessageConstant
import com.cn.sl.server.common.exception.BusinessException
import org.springframework.http.HttpStatus

/**
 * 没有权限访问异常
 *
 * @author 阮雪峰
 */
class NoPermissionAccessException : BusinessException(MessageConstant.NO_PERMISSION, HttpStatus.UNAUTHORIZED)